package client.core.validation.matchers;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

import client.core.validation.AbstractMatcher;

public class IpMatcher extends AbstractMatcher {
	private String REGEX = "^(([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\."
			+ "([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\."
			+ "([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\."
			+ "([01]?\\d\\d?|2[0-4]\\d|25[0-5])|(localhost))$";
	public IpMatcher(){
		super.REGEX = REGEX;
	}
}
